#include <QApplication>
#include "Calculator.h"

int main(int argc, char *argv[])
{
    int ret = -1;
    QApplication a(argc, argv);

    Calculator* cal = Calculator::NewInstance();

    if (cal!=NULL)
    {
        cal->show();

        ret = a.exec();
        delete cal;
    }

    return ret;
}
